{extend name="Public:base" /}
      {block name="seo"}
         <title>{$Think.CONFIG.WEB_SITE_TITLE} - Powered by EasySNS!</title>
  
  
  <meta name="keywords" content="{$Think.CONFIG.WEB_SITE_KEYWORD}">
  <meta name="description" content="{$Think.CONFIG.WEB_SITE_DESCRIPTION}">
{/block}
{block name="body"}


<div class="aw-container-wrap">




	<div class="container">
	
		<div class="row">
		
		
			{if condition="$openslider eq 1"}
<div class=" clearfix" style="margin: 0px 15px;">
  <div class="hidden-xs hidden-sm" style="margin-bottom:10px;">
<link rel="stylesheet" href="__PUBLIC__/js/swiper/swiper.css">
    <link rel="stylesheet" href="__PUBLIC__/js/swiper/animate.min.css">
    <link rel="stylesheet" href="__PUBLIC__/js/swiper/style.css">
 
        <script src="__PUBLIC__/js/swiper/swiper.js"></script>
    <script src="__PUBLIC__/js/swiper/swiper.animate1.0.2.min.js"></script>

<div class="swiper-container">

  <div class="swiper-wrapper">
    
    	{volist name="slidearr" id="vo" key="k"}	
    
    <div class="swiper-slide slide{$k}">
    <a href="{$vo.url}" class="coninner">

    <img src="{$vo['cover_id']|get_picture_url}" class="" >
    </a>
    </div>
{/volist}

  </div>
    <div class="swiper-pagination"></div>
    
    <!-- 如果需要导航按钮 -->
    <div class="swiper-button-prev"></div>
    <div class="swiper-button-next"></div>
</div>
      <script>        
  var mySwiper = new Swiper ('.swiper-container', {
	  loop: true,
	  
	  pagination: {
	      el: '.swiper-pagination',
	      clickable :true,
	    },
	    navigation: {
	        nextEl: '.swiper-button-next',
	        prevEl: '.swiper-button-prev',
	      },
	      autoplay: {
	    	    delay: 10000,
	    	    stopOnLastSlide: false,
	    	    disableOnInteraction: true,
	    	    },
	  on:{
      init: function(){
        swiperAnimateCache(this); //隐藏动画元素 
        swiperAnimate(this); //初始化完成开始动画
      }, 
      slideChangeTransitionEnd: function(){ 
        swiperAnimate(this); //每个slide切换结束时也运行当前slide动画
      } 
    }

  })    
  
  </script>
</div></div>
{/if}

			<div class="aw-content-wrap clearfix">
		
				<div class="col-sm-12 col-md-9 aw-main-content">
	<!-- end 新消息通知 -->
					<div class="ad-all clearfix hidden-xs hidden-sm">
	<div id="qiandao">
		<div class="pull-right" style="color:#999;">
		<b>站内统计</b>
		<span style="padding:0 0 0 10px;">会员：{$usercount}</span>
		<span style="padding:0 0 0 10px;">话题：{$groupcount}</span>
		<span style="padding:0 0 0 10px;">帖子：{$topiccount}</span>
		</div>
		<h2 class="hidden-xs"><i style="font-size:22px;" class="iconfont icon-xiaozu"></i> 活跃榜</h2>
		<div class="qiandaobox hidden-xs hidden-sm">
		{volist name="userhy" id="vo" key="k" offset="0" length="27"}	
		{if condition="$k eq 1"}
		<dt class="pull-left">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}" class="aw-user-name" title="{$vo.nickname}" data-id="{$vo.id}" rel="nofollow">
				<img alt="{$vo.nickname}" src="{$vo.userhead|getheadurl}">
				</a>
		</dt>
		{else/}
		<dd class="pull-left xboxs">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}" class="aw-user-name" title="{$vo.nickname}" data-id="{$vo.id}" rel="nofollow">
				<img alt="{$vo.nickname}" src="{$vo.userhead|getheadurl}">
				</a>
			</dd>			
		
		{/if}		
		
		{/volist}
							
									
				</div>
	</div>
</div>
<script type="text/javascript">
$(document).ready(function()
{
	$('.xboxs').hover(function()
	 {  
		$(this).find(".aw-user-name img").css("background","red");
		$(this).find('img').animate({width:54, marginTop:-5, marginLeft:-2}, 500);
	 }, function()
	 {
        $(this).find(".aw-user-name img").css("background","");
		$(this).find('img').animate({width:50, marginTop:0, marginLeft:0},300);
	 });
});
</script>		
					<!-- tab切换 -->
					<ul class="nav nav-tabs aw-nav-tabs active hidden-xs">
					
			<li {if condition="$order eq 2"}class="active"{/if}><a href="{:es_url('index/index',array('order'=>2))}" id="sort_control_hot">热门</a></li>
						<li {if condition="$order eq 3"}class="active"{/if}><a href="{:es_url('index/index',array('order'=>3))}">推荐</a></li>
						<li {if condition="$order eq 1"}class="active"{/if}><a href="{:es_url('index/index',array('order'=>1))}">最新</a></li>

						<h2 class="hidden-xs"><i class="iconfont icon-liebiao"></i> 发现</h2>
					</ul>
					<!-- end tab切换 -->

					
					<div class="aw-mod aw-explore-list" style="padding:0;">
						<div class="mod-body">
							<div class="aw-common-list">
								<ul class="fly-list">          
        {volist name="topiclist" id="vo"}

   <li>
   <a class="fly-avatar " data-id="{$vo['uid']}"  href="{:es_url('user/home',array('id'=>$vo['uid']))}" rel="nofollow">
	<img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}">
	
        {if condition="$vo['rzstatus']"}
	<i class="iconfont {$vo['rzicon']}"></i>
	{/if}
            </a>
            
          
            <h2>
             
              <a class="listlink" href="{:es_url('Topic/gview',array('id'=>$vo['id']))}">{$vo.title}</a>
            </h2>

            <div class="fly-list-info">
          
              
              
             <span class="text-color-999">{if condition="$vo['tid'] gt 0"}<a class="aw-question-tags" href="{:es_url('topic/cindex',array('id'=>$vo['tid']))}">{$vo.tid|get_topiccatename}</a>  • {/if}<a href="{:es_url('user/home',array('id'=>$vo['replyuid']))}" class="aw-user-name" data-id="{$vo.replyuid}">{$vo.replyuser}</a> {$vo.actionname}  • {$vo.focuscount} 人关注  • {$vo.reply} 个回复 • {$vo.view} 次浏览 • 	{$vo.praise}次点赞	  			</span>
 
          
              <span class="fly-list-nums es-font12 hidden-xs"> 
           
               {$vo.replytime}
              </span>
            </div>
            <div class="fly-list-badge">
   {if condition="$vo.settop eq 1"}<span class="layui-badge layui-bg-red ">置顶</span>{/if}
		{if condition="$vo.choice eq 1"}<span class="layui-badge layui-bg-green">推荐</span>{/if}		
            </div>
          </li>


{/volist}
       
         
        </ul>


							</div>
						</div>
						<div class="mod-footer">
							<div class="page-control">
							<ul class="pagination pull-right">
							{$page}
                             </ul></div>						</div>
					</div>
				</div>

				<!-- 侧边栏 -->
				<div class="col-sm-12 col-md-3 aw-side-bar hidden-xs hidden-sm">
					 {:hook('qiandao')} 
					 					<div class="aw-mod aw-text-align-justify" style="border:none;">
	<div class="mod-head">
		<a href="{:es_url('topic/htlist')}" class="pull-right">更多 &gt;</a>
		<h3>热门话题</h3>
	</div>
	<div class="mod-body">
						{volist name="hotgrouplist" id="vo"}
							<dl>
								<dt class="pull-left aw-border-radius-5">
									<a href="{:es_url('topic/index',array('name'=>$vo.name))}">
									<img alt="" src="{$vo.cover_id|get_picture_url}"></a>
								</dt>
								<dd class="pull-left">
									<p class="clearfix">
										<span class="topic-tag"> 
										<a href="{:es_url('topic/index',array('name'=>$vo.name))}" class="text">{$vo.name}</a>
										</span>
									</p>
									<p>
										<b>{$vo.topiccount}</b> 个帖子, <b>{$vo.membercount}</b> 人关注
									</p>
								</dd>
							</dl>
							{/volist}
					</div>
</div>
					<div class="aw-mod aw-text-align-justify" >
	<div class="mod-head">
		
		<h3>热门用户</h3>
	</div>
	<div class="mod-body">
					
		{volist name="hotuserlist" id="vo"}		
		<dl>
			<dt class="pull-left aw-border-radius-5">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}"><img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}"></a>
			</dt>
			<dd class="pull-left">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}" data-id="{$vo.id}" class="aw-user-name vusername">{$vo.nickname}</a>
				{if condition="$vo.type"}
				
				&nbsp;&nbsp;<i class="fz16 iconfont {if condition='$vo.type eq 1'}icon-myvip{else/}icon-myvip i-ve{/if}" title="{if condition='$vo.type eq 1'}个人认证{else/}企业认证{/if}"></i>					
				
				
				
				{/if}
				
				<p><b>{$vo.topiccount}</b> 个帖子, <b>{$vo.zancount}</b> 次赞同</p>
			</dd>
		</dl>
			{/volist}
					</div>
</div>		
							
			
            
            
					
								
		</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>
{/block}		
